package unit03.day03;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Test01 {

	public static void main(String[] args) {
		Date now = new Date();
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		System.out.println(sdf.format(now));
		
		long time = now.getTime();
		time += 16*24*3600000 + 5*3600000 + 23*60000 + 40000;
		now.setTime(time);
		System.out.println(sdf.format(now));
		
	}

}
